﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <LinearGradientBrush x:Key="MainWindowBackground" StartPoint="0.5, 0" EndPoint="0.5, 1">
        <GradientStop Offset="0" Color="White"/>
        <GradientStop Offset="1" Color="#E5E9EE"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="MainWindowBorder" Color="#878C92"/>
    <LinearGradientBrush x:Key="MainWindowTitleBackground" StartPoint="0.5, 0" EndPoint="0.5, 1">
        <GradientStop Color="#E7EAEE" Offset="0"/>
        <GradientStop Color="#F2F2F2" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MainWindowMenuBackground" StartPoint="0.5, 0" EndPoint="0.5, 1">
        <GradientStop Color="#FFFFFF" Offset="0"/>
        <GradientStop Color="#EAEDF1" Offset="1"/>
    </LinearGradientBrush>
<!--    <SolidColorBrush x:Key="MainWindowMenuBackground" Color="#E7EAEC"/>-->
<!--    <SolidColorBrush x:Key="MainWindowTopDelimiter" Color="#B6BABF"/>-->
    <SolidColorBrush x:Key="MainWindowTopDelimiter" Color="#999DA2"/>
    <SolidColorBrush x:Key="CaptionButtonHoverOuterBorderBrush" Color="#FFA6ACB3"/>
    <LinearGradientBrush x:Key="CaptionButtonHoverInnerBorderBrush">
        <GradientStop Color="#FFFFFFFF" Offset="0"/>
        <GradientStop Color="#FFF2F2F3" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="CaptionButtonHoverInnerBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFFFFFF" Offset="0"/>
        <GradientStop Color="#FFE7E8E9" Offset="1"/>
        <GradientStop Offset="0.49" Color="#FFFCFCFC"/>
        <GradientStop Offset="0.51" Color="#FFF8F8F8"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="CaptionButtonPressedOuterBorderBrush" Color="#FFA6ACB3"/>
    <SolidColorBrush x:Key="CaptionButtonPressedInnerBorderBrush" Color="#FFC2C7CE"/>
    <LinearGradientBrush x:Key="CaptionButtonPressedInnerBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFDFE4EB" Offset="0"/>
        <GradientStop Color="#FFDFE4EB" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="CaptionButtonCloseHoverOuterBorderBrush" Color="#FF9B3D3D"/>
    <LinearGradientBrush x:Key="CaptionButtonCloseHoverInnerBorderBrush" >
        <GradientStop Color="#FFFF8482" Offset="0"/>
        <GradientStop Color="#FFEF7070" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="CaptionButtonCloseHoverInnerBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFF8483" Offset="0"/>
        <GradientStop Color="#FFE36162" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="CaptionButtonClosePressedOuterBorderBrush" Color="#FF9B3D3D"/>
    <SolidColorBrush x:Key="CaptionButtonClosePressedInnerBorderBrush" Color="#FFDA6163"/>
    <LinearGradientBrush x:Key="CaptionButtonClosePressedInnerBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEA7070" Offset="0"/>
        <GradientStop Color="#FFEA7070" Offset="1"/>
    </LinearGradientBrush>
    <!-- Цвет, используемый для придания четкости кнопкам (внешняя граница) -->
    <SolidColorBrush x:Key="EdgingBrush" Color="#918F8B"/>
    <!-- Border для круглых кнопок с градиентной заливкой -->
    <LinearGradientBrush x:Key="CircleStroke" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Offset="0" Color="#7EBFDE"/>
        <GradientStop Offset="1" Color="Transparent"/>
    </LinearGradientBrush>
    <!-- Градиентная заливка круглых кнопок -->
    <LinearGradientBrush x:Key="CircleFillDefault" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Offset="0" Color="#48A6D4"/>
        <GradientStop Offset="0.5" Color="#0385C3"/>
        <GradientStop Offset="1" Color="#758CDE"/>
    </LinearGradientBrush>
    <!-- Градиентная заливка круглых кнопок -->
    <LinearGradientBrush x:Key="CircleFillDisabled" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Offset="0" Color="#FAFAFA"/>
        <GradientStop Offset="0.5" Color="#D9D9D9"/>
        <GradientStop Offset="1" Color="#F6F6F6"/>
    </LinearGradientBrush>
    <!-- Градиентная заливка круглых кнопок при IsMouseOver==true -->
    <LinearGradientBrush x:Key="CircleFillMouseOver" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Offset="0" Color="#7ABEDF"/>
        <GradientStop Offset="0.5" Color="#0385C3"/>
        <GradientStop Offset="1" Color="#758CDE"/>
    </LinearGradientBrush>
    <!-- Сплошная заливка круглых кнопок при IsPressed==true -->
    <SolidColorBrush x:Key="CircleFillPressed" Color="#0385C3"/>
    <!-- Темный цвет -->
    <SolidColorBrush x:Key="DarkBrush" Color="#0385C3"/>
    <!-- Серый цвет -->
    <SolidColorBrush x:Key="GrayBrush" Color="#555555"/>
    <SolidColorBrush x:Key="LightGrayBrush" Color="#888888"/>
    <LinearGradientBrush x:Key="ErrorWindowBackground" StartPoint="0.5, 0" EndPoint="0.5, 1">
        <GradientStop Offset="0" Color="White"/>
        <GradientStop Offset="1" Color="#E5E9EE"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ErrorWindowBorder" Color="#878C92"/>
    <LinearGradientBrush x:Key="ErrorWindowTitleBackground" StartPoint="0.5, 0" EndPoint="0.5, 1">
        <GradientStop Color="#FFE36162" Offset="0"/>
        <GradientStop Color="#FFFF8483" Offset="1"/>        
    </LinearGradientBrush>

</ResourceDictionary>